package com.hst.capacity.domain.model.request.vehicle;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class VehicleAddInsuranceParam {
    @NotEmpty(message = "车辆ID[idVehicle]不能为空")
    private String idVehicle;
    @NotEmpty(message = "保险公司[insuranceCompany]不能为空")
    private String insuranceCompany;
    @NotEmpty(message = "保险号[insuranceNo]不能为空")
    private String insuranceNo;
    @NotEmpty(message = "保险生效时间[effectiveDate]不能为空")
    private String effectiveDate;
    @NotEmpty(message = "保险到期时间[expiryDate]不能为空")
    private String expiryDate;
//    @NotEmpty(message = "保单费用[insuranceAmount]不能为空")
    private float insuranceAmount;
//    @NotEmpty(message = "保单赔付金额[compensationAmount]不能为空")
    private float compensationAmount;
//    @NotEmpty(message = "保险类型[insuranceType]不能为空")
    private String insuranceType;
    @NotNull(message = "保险类型1(商业险)0(新交强险)[insuranceType]不能为空")
    private int insuranceModule;
}
